package com.ruoyi.mapper;

import com.ruoyi.domain.AdvInoutstock;
import com.ruoyi.domain.AdvUpgrade;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdvUpgradeMapper {

    List<AdvUpgrade> selectAdvUpgradeList(AdvUpgrade advUpgrade);

    int insertAdvUpgrade(AdvUpgrade advUpgrade);

    int updateAdvUpgrade(AdvUpgrade advUpgrade);

    int deleteAdvUpgradeByAdvUpgradeId(@Param("advUpgradeIds") Long[] advUpgradeIds);

    AdvUpgrade queryVersionPath(@Param("id") String id);

    AdvUpgrade queryByVersion(@Param("upgradeVersion") String upgradeVersion);

}
